.class Lcom/waiqin365/lightapp/visit/t;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->b(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->C(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/seniorvisitcache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->e(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    const/4 v3, 0x6

    invoke-virtual {v2, v3}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/seniorvisitcache/f;->c(Ljava/lang/String;Ljava/lang/String;)Z

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "type"

    sget-object v2, Lcom/fiberhome/gaea/client/a/e;->f:Lcom/fiberhome/gaea/client/a/e;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "funcId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "reinit_activity"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/t;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Z)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0067
        :pswitch_0
    .end packed-switch
.end method
